* {
    box-sizing: border-box;
}

.container {
    background-image: none;
    border: none;
}

footer {
    margin: 20px 0;
}

.content-left {
    display: flex;
    width: 80%;
    height: 100%;
}

.content-right {
    width: 20%;
    overflow: hidden;
}

.panel {
    /* 跟封面一样大小 */
    background-size: cover;
    /* 把封面图片居中 */
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    /* 边框圆角 */
    border-radius: 50px;
    color: #fff;
    /* 鼠标放上变小手 */
    cursor: pointer;
    flex: 0.5;
    margin: 10px;
    /* 相对定位 */
    position: relative;
    transition: all 500ms ease-in;
    -webkit-transition: all 500ms ease-in;
}

.panel h3 {
    font-size: 24px;
    /* 绝对定位 */
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0;
    opacity: 0;
}

.panel.active {
    flex: 5;
}

.panel.active h3 {
    opacity: 1;
    transition: opacity 0.3s ease-in 0.4s;
}

@media (max-width:480px) {
    .container {
        width: 100vw;
    }

    .panel:nth-of-type(4),
    .panel:nth-of-type(5) {
        display: none;
    }
}

.text {
    margin-top: 30px;
    margin-left: 30px;
}

.text h1 {
    font-size: 24px;
    color: #1527c2;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 300ms
}

.text p,
.text a {
    text-indent: 24px;
    font-size: 18px;
    line-height: 22px;
    color: #1527c2;
    margin-bottom: 20px;
    text-align: justify;
    transition: transform 500ms
}

.text a {
    position: relative;
    left: 0%;
    width: 100%;
    display: inline-block;
    font-size: 14px;
    text-indent: 0px;
    font-style: italic;
}

@keyframes turnX {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.texttrun {
    animation-name: turnX;
    animation-duration: 500ms;
    animation-iteration-count: infinite;
}